DynamicArcTextShape FontName
Gets or sets the name of the font, to be used for the text. For True Type Fonts, specify the name of the font and for .ovf type fonts, specify the file name.
Note: when specifying the .ovf file name, specify only the file name, without any path information
| public string FontName {get;Set} |
Return value
| string | Font name used |
Example
Copy
DynamicArcTextShape dynamicArcText = new DynamicArcTextShape();
dynamicArcText.Height = 5;
dynamicArcText.VariableName = "arcText1";
dynamicArcText.Text = "Sample Arc text";
dynamicArcText.EvaluateVariableTags = true;
dynamicArcText.FontName = "Arial";
dynamicArcText.Center.X = 0;
dynamicArcText.Center.Y = 0;
dynamicArcText.Center.Z = 0;
dynamicArcText.Radius = 20;
dynamicArcText.StartAngle = 160 * (float)(Math.PI / 180);
dynamicArcText.Clockwise = true;
dynamicArcText.Align = ArcTextAlign.Baseline;
dynamicArcText.CharacterGap = 0.5f;
dynamicArcText.DotDurationInMicroseconds = 2;
dynamicArcText.Elevation = 0;
dynamicArcText.Flip(FlipType.HorizontalAndVertical);